<?php

namespace App\Events\Ticket;

use Illuminate\Foundation\Events\Dispatchable;
use Illuminate\Queue\SerializesModels;

class Event
{

    use Dispatchable, SerializesModels;

    public $user_id = 0;

    public $ticket = 0;

    public $comment = '';

    public $category = 0;


    /**
     * Create a new event instance.
     *
     * @return void
     */
    public function __construct($user_id, $ticket, $comment = '')
    {
        $this->user_id = $user_id;
        $this->ticket = $ticket;
        $this->comment = $comment;
    }
}
